<!--%import("filter/manage_checked_issue.xml")-->
<!--%import("js/issue_admin.js")-->
<!--%import("css/issuetracker.css")-->
<div id="popHeader">
    <h3 class="xeAdmin">{$lang->cmd_manage_document}</h3>
</div>

<form action="./" method="get" id="fo_management">
<input type="hidden" name="type" value="" />
<input type="hidden" name="module_srl" value="{$module_srl}" />

<div id="popBody">
    <table cellspacing="0" class="rowTable">
    <tr>
        <th scope="row"><div><label for="textfield1">{$lang->checked_count} ({count($document_list)})</label></div></th>
        <td colspan="3">
            <!--@if(count($document_list))-->
            <input type="checkbox" onclick="XE.checkboxToggleAll()" checked="checked"/> {$lang->cmd_select}
            <ul class="document_list_box">
                <!--@foreach($document_list as $key => $document)-->
                <li class="document_list"><input type="checkbox" checked="checked" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this);"/> <address>{$document->getNickName()}</address> <span class="document_title">{$document->getTitle()}</span></li>
                <!--@end-->
            </ul>
            <!--@else-->
                &nbsp;
            <!--@end-->
        </td>
    </tr>
    <!--@if(count($document_list))-->
    <tr>
        <th scope="row"><label for="inputMilestone">{$lang->milestone} :</label></th>
        <td>
            <select name="milestone_srl" id="inputMilestone">
                <option value="0">{$lang->milestone}</option> 
            <!--@foreach($project->milestones as $val)-->
                <option value="{$val->milestone_srl}">{$val->title}</option>
            <!--@end-->
            </select>
        </td>
        <th scope="row"><div><label for="inputPriority">{$lang->priority} :</label></div></th>
        <td>
            <select name="priority_srl" id="inputPriority">
                <option value="">{$lang->priority}</option> 
                <!--@foreach($project->priorities as $key => $val)-->
                <option value="{$val->priority_srl}">{$val->title}</option> 
                <!--@end-->
            </select>
        </td>
    </tr>
    <tr>
        <th><label for="inputType">{$lang->type} :</label></th>
        <td>
            <select name="type_srl" id="inputType">
                <option value="">{$lang->type}</option> 
                <!--@foreach($project->types as $key => $val)-->
                <option value="{$val->type_srl}">{$val->title}</option> 
                <!--@end-->
            </select>
        </td>
        <th><div><label for="inputComponent">{$lang->component} :</label></div></th>
        <td>
            <select name="component_srl" id="inputComponent">
                <option value="">{$lang->component}</option> 
                <!--@foreach($project->components as $key => $val)-->
                <option value="{$val->component_srl}">{$val->title}</option> 
                <!--@end-->
            </select>
        </td>
    </tr>
    <tr>
        <th><div><label for="inputStatus">{$lang->status} :</label></div></th>
        <td>
            <select name="status">
			<option value="">{$lang->status}</option>
            <!--@foreach($lang->status_list as $key=> $val)-->
            <option value="{$key}">{$val}</option>
            <!--@endforeach-->
            </select>
        </td>
        <td colspan="2">
        </td>
    </tr>
    <!--@end-->
    </table>
</div>

<!--@if(count($document_list))-->
<div id="popFooter">
    <a href="#" onclick="doManageIssue();return false;" class="button black strong"><span>{$lang->cmd_modify}</span></a>
</div>
<!--@end-->

</form>
